//: Playground - noun: a place where people can play

import MilanoSDK

let f1: Function = { (str: String) -> Int in str.characters.count }
let f2: Function<String, Int> = { str in str.characters.count }
f1("hello")
f2("swift")

let p: Predicate<String> = { $0.isEmpty }
p("swift")

let c: Consumer<String> = { print($0) }
c("swift")

[15.2, 2.5, 10.0].map { Int($0) }
// [15.2, 2.5, 10.0].map(Int.init)
